import { apiPostUserQuery } from '@/api/http/system/senior/user/user.api';

export const nodListScene = (
  scene: string,
): { api: Fn; labelField: string; valueField: string } | undefined => {
  const nodListScene = {
    user: {
      api: apiPostUserQuery,
      labelField: 'nickname',
      valueField: 'userId',
    },
  };
  return nodListScene[scene];
};
